//水泥浆设计

// 导入封装好的网络请求类工具
import request from '../../../../../utils/request';
// 封装各种接口请求
// export const 接口名 = () => Network.get('/路由',参数对象);

//水泥浆设计-编辑保存数据
export const CementsluryDesignUpdate = (form) => {
    return request({
        url: '/cementsluryDesign/cementsluryDesignUpdate',
        method: 'put',
        data: form
    })
}

//水泥浆设计-删除数据
export const CementsluryDesignDelete = (id) => {
    return request({
        url: `/cementsluryDesign/cementsluryDesignDelete/${id}`,
        method: 'delete'
    })
}
//分页查询
export const FindCementsluryDesign = (current,size,condition) => {
    return request({
        url: `/cementsluryDesign/findCementSluryDesignByPage/${current}/${size}`,
        method: 'post',
        data:condition
        
    })
}



//水泥浆设计-查询数据
export const FindCementsluryDesignByCondition = (searchModel) => {
    return request({
        url: '/cementsluryDesign/findCementsluryDesignByCondition',
        method: 'post',
        data: searchModel
    })
}

//水泥浆设计-新增数据
export const CementsluryDesignAdd = (form) => {
    return request({
        url: '/cementsluryDesign/cementsluryDesignAdd',
        method: 'post',
        data: form
    })
}